#if !defined(AFX_TEMPLETPOINTPAGE_H__2CE2D125_5D55_4365_8633_EB11C77ADA2A__INCLUDED_)
#define AFX_TEMPLETPOINTPAGE_H__2CE2D125_5D55_4365_8633_EB11C77ADA2A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TempletPointPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTempletPointPage dialog

struct MonUnitItem;

class CTempletPointPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CTempletPointPage)

// Construction
public:
  COLORREF m_crCellFont;
  LOGFONT m_lfCell;
	int InsertMonUnitToListCtrl(MonUnitItem * pMonUnitItem);
  std::vector<MonUnitItem *> m_MonUnitItems;
	void RefreshListCtrl(int nSelectedItem = 0);
	CTempletPointPage();
	~CTempletPointPage();

// Dialog Data
	//{{AFX_DATA(CTempletPointPage)
	enum { IDD = IDD_DIALOG_TEMPLETPOINTPAGE };
	CButton	m_btnFontSample;
	CListCtrl	m_listctrl;
	int		m_nCellHeight;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CTempletPointPage)
	public:
	virtual BOOL OnApply();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CTempletPointPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnAppendMonUnit();
	afx_msg void OnInsertMonUnit();
	afx_msg void OnDeleteMonUnit();
	afx_msg void OnSelectMonUnits();
	afx_msg void OnSelectFont();
	afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
	afx_msg void OnCellHeightModified();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEMPLETPOINTPAGE_H__2CE2D125_5D55_4365_8633_EB11C77ADA2A__INCLUDED_)
